home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / c / AmiVoGL_MDEV.lha / hershey / src / Makefile.manx < prev    next >
Makefile  |  1994-12-19  |  2KB  |  80 lines

  1. #
  2. # Makes the hershey library.
  3. # Makes the binary Hershey font file for VOGL
  4. #
  5. FONTLIB="VoglGrfx:"
  6.  
  7. all:    xgrfx.lib h2v hdisp fdisp fonts
  8.  
  9. pgms: h2v hdisp fdisp fonts
  10.  
  11. xgrfx.lib: htext.o check.o halloc.o fhtext.o
  12.  
  13. h2v:    h2v.o getchar.o
  14.     ln h2v.o getchar.o -lxgrfx -lxmath -lxtdio -lm8 -lc
  15.  
  16. hdisp:    hdisp.o getchar.o
  17.     ln hdisp.o getchar.o -lxgrfx -lxmath -lxtdio -lm8 -lc
  18.  
  19. fdisp:    fdisp.o
  20.     ln fdisp.o -lxgrfx -lxmath -lxtdio -lm8 -lc
  21.  
  22. fonts:    h2v
  23.     h2v /data/hersh.oc
  24.     h2v /data/hersh.or /fonts/japan.hmp japanese
  25.     chip:touch $(FONTLIB)/astrology
  26.     delete $(FONTLIB)/#?
  27.     c:copy astrology cursive cyrillic futura.l futura.m gothic.eng $(FONTLIB)
  28.     c:delete astrology cursive cyrillic futura.l futura.m gothic.eng
  29.     c:copy gothic.ger gothic.ita greek markers math.low            $(FONTLIB)
  30.     c:delete gothic.ger gothic.ita greek markers math.low
  31.     c:copy math.upp meteorology music script symbolic times.g      $(FONTLIB)
  32.     c:delete math.upp meteorology music script symbolic times.g
  33.     c:copy times.i times.ib times.r times.rb                       $(FONTLIB)
  34.     c:delete times.i times.ib times.r times.rb
  35.     c:copy japanese $(FONTLIB)
  36.     c:delete japanese
  37.     touch fonts
  38.  
  39. h2v.o : h2v.c h2v.h
  40.     cc -so -DFONTLIB="$(FONTLIB)" h2v.c
  41.  
  42. check.o : check.c
  43.     cc -so -DFONTLIB="$(FONTLIB)" check.c
  44.  
  45. fdisp.o : fdisp.c
  46.     cc -so -DFONTLIB="$(FONTLIB)" fdisp.c
  47.  
  48. fhtext.o : fhtext.c
  49.     cc -so -DFONTLIB="$(FONTLIB)" fhtext.c
  50.  
  51. getchar.o : getchar.c
  52.     cc -so -DFONTLIB="$(FONTLIB)" getchar.c
  53.  
  54. halloc.o : halloc.c
  55.     cc -so -DFONTLIB="$(FONTLIB)" halloc.c
  56.  
  57. hdisp.o : hdisp.c
  58.     cc -so -DFONTLIB="$(FONTLIB)" hdisp.c
  59.  
  60. htext.o : htext.c
  61.     cc -so -DFONTLIB="$(FONTLIB)" htext.c
  62.  
  63. clean:
  64.     delete astrology cursive cyrillic futura.l futura.m gothic.eng \
  65.     gothic.ger gothic.ita greek japanese markers math.low \
  66.     math.upp meteorology music script symbolic times.g \
  67.     times.i times.ib times.r times.rb *.o fonts
  68.  
  69. clobber:
  70.     delete astrology cursive cyrillic futura.l futura.m gothic.eng \
  71.     gothic.ger gothic.ita greek japanese markers math.low \
  72.     math.upp meteorology music script symbolic times.g \
  73.     times.i times.ib times.r times.rb *.o h2v hdisp fdisp fonts
  74.  
  75. # to make tags, you will need DrChip_1_03.lzh from dev/c on aminet
  76. tags :
  77.     hdrtag -gav h2v.h hershey.h
  78.     flist -ma  check.c fdisp.c fhtext.c getchar.c h2v.c \
  79.                halloc.c hdisp.c htext.c
  80.